
// 自定义navigationBar如何自定义高度(详情连接在下面)
// https://blog.csdn.net/IT_iosers/article/details/123851804?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-123851804-blog-115694089.pc_relevant_multi_platform_whitelistv3&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-123851804-blog-115694089.pc_relevant_multi_platform_whitelistv3&utm_relevant_index=1
function computedNavigationBarHeight() {
    const systemInfo = wx.getSystemInfoSync();
    const menuButtonInfo = wx.getMenuButtonBoundingClientRect();
    return (menuButtonInfo.top - systemInfo.statusBarHeight) * 2 + menuButtonInfo.height + systemInfo.statusBarHeight;
}